package com.amado.course50java8;

import java.util.StringJoiner;

/**
 * @author wangyulong
 * @version 1.5.0
 * @date 2020/4/9 15:38
 */
public class StringJoinerTest {
    public static void main(String[] args) {
        StringJoiner stringJoiner = new StringJoiner(",");
        stringJoiner.add("a");
        stringJoiner.add("b");
        stringJoiner.add("c");
        System.out.println(stringJoiner);
    }
}
